import React from "react";
import BackgroundImg from './403.png';  //首先引入需要的图片路径
//定义背景样式
const backgroundStyle = {
    width: "100%",
    height: "100%",
    background: `url(${BackgroundImg}) center center no-repeat`
};



// 403 无权限组件
export default function NoPermission() {
    return (
        <div style={backgroundStyle}></div>
    )
};


/*
export default function NoPermission() {
    return (
        <div style={{height: "100%", display: "flex", justifyContent: "center", alignItems: "center"}}>
            <img src={png_403} alt=""/>
        </div>
    )
};
*/
